PXC Documentation

PXC Home

Scatter

pre 1.18

Scatter image randomly multiple times.

Node Data

Display name

Scatter

Internal name

Node_Scatter

Inheritances

Node_Processor
Node_Scatter

Inputs

Output

vec2

Dimension

Surfaces

surface

Surface In

enum

Array

iarray

Array Indices

surface

Array Texture

range

Animated

enum

Animated End

Scatter

Source

enum

Source

area

Area

surface

Distribution Map

vec2

Points Array

text

Extra Value

enum

Distribution

rotRange

Angle Range

Amount

bool

Auto Amount

int

Amount

ivec2

Uniform Amount

float

Distance

int

Attempt

Path

path

Path

enum

Spacing

bool

Rotate Along Path

range

Path Range

slider

Path Shift

float

Scatter Distance

Position

range2

Random Position

range2

Offset Position

vec2

Shift Position

range

Shift Radial

bool

Exact

Rotation

rotation

Rotation

bool

Point At Center

rotRand

Random Angle

rotRand

Offset Angle

rotation

Rotate Per Radius

Scale

range2

Scale

range2

Offset Scale

range

Scale Random

bool

Uniform Scaling

vec2

Scale Per Radius

Color

gradient

Random Blend

range

Alpha

bool

Multiply Alpha

Sample Color

surface

Sample Surface

anchor

Sample Anchor

range2

Sample Wiggle

Rendering

enum

Blend Mode

bool

Sort Y

toggle

Tile

Position

Rotation

Scale

Surface

Position

Color

Atlas

Outputs

surface

Surface Out

atlas

Atlas Data

Attributes

Color Depth
Interpolation

Scatter surface randomly. To repeat surface in fixed pattern use Repeat node.



Properties


Surfaces
ArrayChoose surface array processing method:
- Spread Output: Create multiple surfaces for each surface separately.
- Index: Mix all input surfaces using spawn index as array index.
- Random: Mix all input surfaces with random array index.
- Data: Using third value (if exists) to determine array index.
- Texture: Use external surface to select array index.
AnimatedWith surface array connected, increase array index per frame.
Animated EndSelect what to do when index outside array range.
Scatter > Source
SourceScatter area type.
Extra ValueIn point array source, apply the third and later values in each data point (if exist) to the given properties.
DistributionScatter distribution.
Amount
AmountScatter amount.
DistanceIn poisson distribution, set minimum distance between each copies.
AttemptIn map distribution, set sampling attempt before gives up.
Path
PathScatter along path.
Rotate Along PathMake the copy rotate along path normal.
Path RangeRange of the path to follow.
Path ShiftShift position along path.
Scatter DistanceSet random shift distance away from the path.
Position
Random PositionRandomly move surface from it's original place.
Shift PositionMove surface with fixed amount increase per copy.
Shift RadialMove surface based on its rotation.
ExactRound drawing position to integer.
Rotation
RotationBase angle.
Point At CenterRotate each copy to face the spawn center.
Random AngleRotate surface randomly.
Scale
ScaleBase scale.
Offset ScaleScale surface randomly in both axis independenly.
Scale RandomScale surface randomly in both axis uniformly.
Uniform ScalingForce the final scaling to have the same value in X and Y axis.
Color
Random BlendApply random color blending per copy.
AlphaApply random opacity per copy.
Multiply AlphaMultiply opacity to RGB channel before drawing.
Sample Color
Sample SurfaceBlend surface based on color sampled from additional surface.
Sample WiggleRandomly modify sample point.
Rendering
Blend ModeDrawing blend mode.
Sort YSort drawing order by it's Y position to create top-down depth effect.
TileDraw overflow surface to the other side of the surface to create tiling effect.



Commit History


1.21.7.105
  • Fix point selection always always multi-select.
1.21.5.002
  • Fix alpha not apply when using sampler surface.
1.21.5
  • Fix sampler position using incorrect position.
1.21.4.002
  • Tiling option now separate X and Y axis.
1.21.2.003
  • Fix amount input disappear when setting source to map while setting distribution to poisson.
  • Add "Stop" option for ended animation.
1.21.1.0
  • Fix value map doesn't work.
  • Add tiling option for all scatter source type.
1.21.0.2.007
  • Add offset transformation properties.

Related Links